import{
getExcel,
get,
post,
}from'../utils/request.js';
//字典接口
export const getDict=(params)=> post('/b/privs/field/fieldGrid', params);
//风险指标管理
//风险指标管理表格分页
export const jrfkFxyjConfig=(params) => post('/qyxx/jrfkFxyjConfig/getPages', params,'notQs');
//新增风险
export const newRiskInsent=(params)=> post('/qyxx/jrfkFxyjConfig/insert', params, 'notQs');
//编辑风险
export const riskUpdate=(params) => post('/qyxx/jrfkFxyjConfig/update', params, 'notQs');
//删除风险
export const deleteRisk=(params) => post('/qyxx/jrfkFxyjConfig/deleteById', params, 'not0s')

//监控企业总数
export const getCompanyCount = (params) => get('/qyxx/jrfkFxyjSetting/getCompanyCount', params);
//企业风险总数
export const getCompanyFxCount = (params) => get('/qyxx/jrfkFxyjSetting/getCompanyFxCount', params);
//模板下载
export const downloadTemp = (params) => getExcel('/qyxx/jrfkFxyjRelationship/downloadTemp', params);